<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="referer" content="never" />
    <meta name="renderer" content="webkit">
    <title>MacBook开发环境</title>
	<link href=" /static/baota/bootstrap-3.3.5/css/bootstrap.min.css?version=7.5.2&repair=qrNHX3Jf3LV00Oum" rel="stylesheet" />
	<link href=" /static/baota/codemirror/lib/codemirror.css?version=7.5.2&repair=qrNHX3Jf3LV00Oum" rel="stylesheet" />
	<link href=" /static/baota/css/site.css?version=7.5.2&repair=qrNHX3Jf3LV00Oum" rel="stylesheet" />
	
    <style>
		.contextmenu {
			position: absolute;
			width: 120px;
			background: #FFFFFF;
			border-radius: 5px;
			overflow: hidden;
			z-index: 99999999;
		}
		.contextmenu li {
			border-left: 3px solid transparent;
			transition: ease 0.3s;
		}
		.contextmenu li:hover {
			background: #707070;
			border-left: 3px solid #333;
		}
		.contextmenu li a {
			display: block;
			padding: 5px 10px;
			color: #000000;
			text-decoration: none;
			transition: ease 0.3s;
			cursor:default;
		}
		.contextmenu li:hover a {
			color: #fff;
		}
	</style>
	<script type="text/javascript">
		var ie_version = (function() {
            var userAgent = navigator.userAgent,
            	isLessIE11 = userAgent.indexOf('compatible') > -1 && userAgent.indexOf('MSIE') > -1,
				isEdge = userAgent.indexOf('Edge') > -1 && !isLessIE11,
				isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf('rv:11.0') > -1;
            if (isLessIE11) {
                var IEReg = new RegExp('MSIE (\\d+\\.\\d+);');
                IEReg.test(userAgent);
                var IEVersionNum = parseFloat(RegExp['$1']);
                if (IEVersionNum === 7) {// IE7
                    return 7
                } else if (IEVersionNum === 8) {// IE8
                    return 8
                } else if (IEVersionNum === 9) {// IE9
                    return 9
                } else if (IEVersionNum === 10) { // IE10
                    return 10
                } else {
                    return 6
                }
            } else if (isEdge) { // edge
                return 'edge'
            } else if (isIE11) {// IE11
                return 11
            } else {// 不是ie浏览器
                return -1
            }
        }());
        if(ie_version != -1 && ie_version < 9){
            window.location.href = '/tips';
        }
	</script>
</head>
<body>
    <div class="bt-warp bge6">
		<a style="display:none;" id="panel_debug" data="True" data-pyversion="3"></a>
        <a style="display:none;" id="request_token_head" token="sJ0ZVX7ce1rr2bkiwsulF0KNakf5YAWsaciAwNcxflyh7GiB"></a>
        <div id="container" class="container-fluid">
            <button style="display: none;" id="bt_copys" class="bt_copy" data-clipboard-text=""></button>
            <a style="display: none;" id="defaultPath">/www/wwwroot</a>
            
<link rel="stylesheet" href="/static/baota/ace/styles/icons.css">
<link rel="stylesheet" type="text/css" href="/static/baota/css/files_style.min.css">
<style id="file_list_info">
    .file_checkbox {
        width: 40px !important;
    }
    
    .file_name {
        width: 300px !important;
    }
    
    .file_ps {
        width: 200px !important;
    }
    
    .file_size {
        width: 100px !important;
    }
    
    .file_mtime {
        width: 180px !important;
    }
    
    .file_user {
        width: 80px !important;
    }
    
    .file_accept {
        width: 80px !important;
    }
    
    .file_operation {
        width: 220px !important;
    }
    
    .file_table_view.list_view .file_list_content .file_tr {
        width: auto;
    }
    
    .file_table_view.list_view .file_list_content {
        width: auto;
    }
</style>
<div class="main-content">
    <a style="display: none;" id="recycle_bin" data="True"></a>
    <div class="bt_file_updated">
        <div class="updated_icon">
            <div class="btn download">
                <div class="cloud">
                    <div class="file"></div>
                </div>
            </div>
        </div>S
        <div class="updated_title">松开鼠标即可上传文件或文件夹</div>
    </div>
    <!-- aceEditors -->
    <div class="file_bodys">
        <div class="file_path_views">
            <div class="file_path_upper" title="上一层">
                <span class="glyphicon glyphicon-arrow-left"></span>
                <!-- <span>上一层</span> -->
            </div>
            <div class="file_path_input">
                <div class="file_path_shadow"></div>
                <div class="file_dir_view"></div>
                <input type="text" data-path="/www/wwwroot" data-backspace class="path_input" id="fileInputPath" />
            </div>
            <div class="file_path_refresh" title="刷新列表"><i class="icon-file icon-file-refresh"></i></div>
            <div class="search_path_views">
                <input type="text" placeholder="搜索文件/目录" class="file_search_input">
                <button type="submit" class="path_btn"><i class="iconfont icon-search"></i></button>
                <div class="file_search_config">
                    <div id="search_all" class="file_search_checked"></div>
                    <label for="search_all">包含子目录</label>
                </div>
            </div>
        </div>
        <div class="file_nav_view">
            <div class="nav_group">
                <div class="nav_btn upload_file">
                    <span class="nav_btn_title">上传</span>
                </div>
            </div>
            <div class="nav_group">
                <div class="nav_btn upload_download">
                    <span class="nav_btn_title">远程下载</span>
                </div>
            </div>
            <div class="nav_group">
                <div class="nav_btn create_file_or_dir">
                    <span class="nav_btn_title">新建</span><i class="iconfont icon-xiala"></i>
                    <ul class="nav_down_list" data-menu="newFileType">
                        <li data-type="newBlankDir"><i class="file_menu_icon create_file_icon"></i><span>新建目录</span></li>
                        <li data-type="newBlankFile"><i class="file_new_icon"></i><span>新建空白文件</span></li>
                        <li data-type="newBlankFile"><i class="file_new_icon soft_link_file_icon"></i><span>软链接文件</span></li>
                    </ul>
                </div>
            </div>
            <div class="nav_group">
                <div class="nav_btn favorites_file_path">
                    <span class="nav_btn_title" data-menu="favorites">收藏夹</span><i class="iconfont icon-xiala"></i>
                    <ul class="nav_down_list"></ul>
                </div>
            </div>
            <div class="nav_group">
                <div class="nav_btn share_file_list">
                    <span class="nav_btn_title">分享列表</span>
                </div>
            </div>
            <div class="nav_group ">
                <div class="nav_btn terminal_view">
                    <i class="iconfont icon-terminal"></i>
                    <span class="nav_btn_title">终端</span>
                </div>
            </div>
            <!-- 挂载磁盘列表 -->
            <div class="nav_group mount_disk_list"></div>
            <div class="float_r menu-header-foot">
                <div class="file_menu_tips"><span class="glyphicon glyphicon-info-sign"></span><span>文件操作可使用右键</span></div>
                <div class="nav_group multi hide">
                    <div class="batch_multi_title">
                        <span>批量操作</span>
                        <i class="iconfont icon-xiala"></i>
                        <div class="batch_group_list">
                            <div class="nav_btn_group" data-type="copy"><i class="file_menu_icon copy_file_icon"></i><span class="nav_btn_title">复制</span></div>
                            <div class="nav_btn_group" data-type="shear"><i class="file_menu_icon shear_file_icon"></i><span class="nav_btn_title">剪切</span></div>
                            <div class="nav_btn_group" data-type="compress"><i class="file_menu_icon compress_file_icon"></i><span class="nav_btn_title">压缩</span></div>
                            <div class="nav_btn_group" data-type="authority"><i class="file_menu_icon power_file_icon"></i><span class="nav_btn_title">权限</span></div>
                            <div class="nav_btn_group" data-type="del"><i class="file_menu_icon del_file_icon"></i><span class="nav_btn_title">删除</span></div>
                            <div class="nav_btn_group hide" style="padding-left:10px;border-left: 1px solid #cfcfcf;margin-left: -1px;">
                                <span class="nav_btn_title">更多</span><i class="iconfont icon-xiala"></i>
                                <ul class="nav_down_list">
                                    <li data-type="copy"><i class="file_menu_icon copy_file_icon"></i><span>复制</span></li>
                                    <li data-type="shear"><i class="file_menu_icon shear_file_icon"></i><span>剪切</span></li>
                                    <li data-type="compress"><i class="file_menu_icon compress_file_icon"></i><span>压缩</span></li>
                                    <li data-type="authority"><i class="file_menu_icon power_file_icon"></i><span>权限</span></li>
                                    <li data-type="del"><i class="file_menu_icon del_file_icon"></i><span>删除</span></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="nav_group file_all_paste hide">
                    <div class="nav_btn_group">
                        <i class="file_menu_icon paste_file_icon"></i><span class="nav_btn_title">粘贴</span>
                    </div>
                </div>
                <div class="nav_group recycle_bin">
                    <div class="nav_btn"><span class="glyphicon glyphicon-trash"></span><span class="nav_btn_title">回收站</span></div>
                </div>
                <div class="nav_group btn-group btn-group-sm">
                    <div class="btn btn-default cut_view_model" data-type="icon"><i class="glyphicon glyphicon-th"></i></div>
                    <div class="btn btn-default cut_view_model" data-type="list"><i class="glyphicon glyphicon-th-list"></i></div>
                </div>
            </div>
        </div>
        <div class="file_table_view">
            <div class="file_list_header">
                <div class="file_main_title">
                    <div class="file_checkbox file_th">
                        <div class="file_check" data-type="all" data-checkbox="0"></div>
                    </div>
                    <div class="file_name file_th" data-tid="name">
                        <span>文件名</span>
                        <div class="icon_sort"></div>
                    </div>
                    <!-- <div class="file_width_resize"></div>
                    <div class="file_type file_th" data-tid="type">
                        <span>类型</span>
                        <div class="icon_sort"></div>
                    </div> -->
                    <div class="file_width_resize"></div>
                    <div class="file_accept file_th" data-tid="accept">
                        <span>权限 / 所有者</span>
                        <div class="icon_sort"></div>
                    </div>
                    <div class="file_width_resize"></div>
                    <div class="file_size file_th" data-tid="size">
                        <span>大小</span>
                        <div class="icon_sort"></div>
                    </div>
                    <div class="file_width_resize"></div>
                    <div class="file_mtime file_th" data-tid="mtime">
                        <span>修改时间</span>
                        <div class="icon_sort"></div>
                    </div>
                    <div class="file_width_resize"></div>
                    <div class="file_ps file_th" data-tid="ps">
                        <span>备注</span>
                        <div class="icon_sort"></div>
                    </div>
                    <!-- <div class="file_width_resize"></div> -->
                    <div class="file_width_resize"></div>
                    <div class="file_operation file_th align-right" data-tid="operation">
                        <span>操作</span>
                    </div>
                </div>
            </div>
            <div class="file_list_shadow file_shadow_top" style="opacity: 0;"></div>
            <div class="file_list_content"></div>
            <div class="file_list_shadow file_shadow_bottom" style="opacity: 0;"></div>
            <div class="onselectstart"></div>
        </div>
        <div class="file_right_menu file_menu_list">
            <ul class="set_group">
                <!-- <li data-id="open_file"><i class="file_menu_icon open_file_icon"></i><span>打开文件夹</span></li> -->
                <li data-id="edit_file"><i class="file_menu_icon edit_file_icon"></i><span>打开</span></li>
                <li data-id="download_file"><i class="file_menu_icon download_file_icon"></i><span>下载</span></li>
                <li class="separate"></li>
                <li data-id="copy_file"><i class="file_menu_icon copy_file_icon"></i><span>复制</span></li>
                <li data-id="paste_file"><i class="file_menu_icon paste_file_icon"></i><span>粘贴</span></li>
                <!-- 判断类型是文件夹时，提示是否复制文件至该文件夹 -->
                <li data-id="shear_file"><i class="file_menu_icon shear_file_icon"></i><span>剪切</span></li>
                <li class="separate"></li>
                <li data-id="rename_file"><i class="file_menu_icon rename_file_icon"></i><span>重命名</span></li>
                <li data-id="power_file"><i class="file_menu_icon power_file_icon"></i><span>权限</span></li>
                <li data-id="decompression_file"><i class="file_menu_icon decompression_file_icon"></i><span>解压</span></li>
                <li data-id="compress_file">
                    <i class="file_menu_icon compress_file_icon"></i><span>创建压缩</span>
                    <div class="file_menu_down">
                        <span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span>
                        <ul class="set_group">
                            <li><i class="file_menu_icon compress_file_icon"></i><span>tar.gz（推荐）</span></li>
                            <li><i class="file_menu_icon compress_file_icon"></i><span>zip（通用格式）</span></li>
                            <li><i class="file_menu_icon compress_file_icon"></i><span>rar（WinRAR对中文兼容较好）</span>
                            </li>
                        </ul>
                    </div>
                </li>
                <li data-id="del_file"><i class="file_menu_icon del_file_icon"></i><span>删除</span></li>
                <li class="separate"></li>
                <li data-id="add_favorites"><i class="file_menu_icon add_favorites_icon"></i><span>添加至收藏夹</span>
                </li>
            </ul>
        </div>
        <div class="selection_right_menu file_menu_list">
            <ul class="set_group">
                <li data-id="copy_file"><i class="file_menu_icon copy_file_icon"></i><span>复制</span></li>
                <li data-id="paste_file"><i class="file_menu_icon shear_file_icon"></i><span>剪切</span></li>
                <li data-id="download_file"><i class="file_menu_icon download_file_icon"></i><span>下载</span></li>
                <li class="separate"></li>
                <li data-id="del_file"><i class="file_menu_icon del_file_icon"></i><span>删除</span></li>
                <li class="separate"></li>
                <li data-id="paste_file"><i class="file_menu_icon copy_file_icon"></i><span>复制到</span></li>
                <li data-id="paste_file"><i class="file_menu_icon shear_file_icon"></i><span>移动到</span></li>
                <li class="separate"></li>
                <li data-id="compress_file">
                    <i class="file_menu_icon compress_file_icon"></i><span>创建压缩</span>
                    <div class="file_menu_down"><span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span></div>
                </li>
            </ul>
        </div>
        <div class="content_right_menu file_menu_list">
            <ul class="set_group">
                <li data-id="refresh_file"><i class="file_menu_icon refresh_file_icon"></i><span>刷新</span></li>
                <li class="separate"></li>
                <li data-id="upload_file"><i class="file_menu_icon upload_file_icon"></i><span>上传</span></li>
                <li data-id="newly_file"><i class="file_menu_icon newly_file_icon"></i><span>新建文件夹/文件</span></li>
                <li class="separate"></li>
                <li data-id="paste_file"><i class="file_menu_icon paste_file_icon"></i><span>粘贴</span></li>
            </ul>
        </div>
        <div class="filePage pagination page"></div>
    </div>
</div>
<script type="text/template" id="upload_file_template">
    <div class="upload_or_download_view">
        <div class="upload_or_download_content active" data-type="upload">
            <div class="upload_btn_groud">
                <div class="btn-group">
                    <button type="button" class="btn btn-primary btn-sm upload_file_btn">上传文件</button>
                    <button type="button" class="btn btn-primary  btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
						<span class="caret"></span>
						<span class="sr-only">Toggle Dropdown</span>
					</button>
                    <ul class="dropdown-menu">
                        <li><a href="#" data-type="file">上传文件</a></li>
                        <li><a href="#" data-type="dir">上传目录</a></li>
                    </ul>
                </div>
                <div class="file_upload_info" style="display:none;">
                    <span>总进度&nbsp;<i class="uploadProgress"></i>，正在上传&nbsp;<i class="uploadNumber"></i>，</span>
                    <span style="display:none">上传失败&nbsp;<i class="uploadError"></i></span>
                    <span>上传速度&nbsp;<i class="uploadSpeed">获取中</i>，</span>
                    <span>预计上传时间&nbsp;<i class="uploadEstimate">获取中</i></span><i></i>
                </div>
            </div>
            <div class="upload_file_body active"><span>请将需要上传的文件拖到此处</span></div>
            <div class="upload_btn_group"><button type="button" class="btn btn-danger btn-sm upload_file_clear">取消上传</button><button type="button" class="btn btn-success btn-sm upload_file_submit">开始上传</button></div>
        </div>
    </div>
</script>
<script type="text/template" id="aceTmplate">
    <div id="ace_conter">
        <div class="ace_header" style="top: 0">
            <span class="saveFile"><i class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></i><span>保存</span></span>
            <span class="saveFileAll"><i class="glyphicon glyphicon-duplicate" aria-hidden="true"></i><span>全部保存</span></span>
            <span class="refreshs"><i class="glyphicon glyphicon-refresh" aria-hidden="true"></i><span>刷新</span></span>
            <span class="searchs"><i class="glyphicon glyphicon-search" aria-hidden="true"></i><span>搜索</span></span>
            <span class="replaces"><i class="glyphicon glyphicon-retweet" aria-hidden="true"></i><span>替换</span></span>
            <span class="jumpLine"><i class="glyphicon glyphicon-pushpin" aria-hidden="true"></i><span>跳转行</span></span>
            <span class="fontSize"><i class="glyphicon glyphicon-text-width" aria-hidden="true"></i><span>字体</span></span>
            <span class="themes"><i class="glyphicon glyphicon-magnet" aria-hidden="true"></i><span>主题</span></span>
            <span class="setUp"><i class="glyphicon glyphicon-cog" aria-hidden="true"></i><span>设置</span></span>
            <span class="helps"><i class="glyphicon glyphicon-question-sign" aria-hidden="true"></i><span>快捷键</span></span>
            <div class="pull-down" title="隐藏工具条" style="top: 0"><i class="glyphicon glyphicon-menu-down" aria-hidden="true"></i></div>
        </div>
        <div class="ace_overall" style="top: 35px;">
            <!-- 编辑器目录 -->
            <div class="ace_catalogue" style="left:0px">
                <div class="ace_catalogue_title">目录
                    <div class="dir-menu-right"><span class="glyphicon glyphicon-minus" aria-hidden="true"></span></div>
                </div>
                <div class="ace_dir_tools">
                    <div class="upper_level" title="返回上级目录">
                        <i class="glyphicon glyphicon-share-alt" aria-hidden="true"></i>
                        <span>上一级</span>
                    </div>
                    <div class="search_file" title="搜索内容">
                        <i class="glyphicon glyphicon-search" aria-hidden="true"></i>
                        <span>搜索</span>
                    </div>
                    <div class="new_folder" title="新建文件/目录">
                        <i class="glyphicon glyphicon-plus" aria-hidden="true"></i>
                        <span>新建</span>
                        <ul class="folder_down_up">
                            <li data-type="2"><i class="folder-icon"></i>新建文件夹</li>
                            <li data-type="3"><i class="text-icon"></i>新建文件</li>
                        </ul>
                    </div>
                    <div class="refresh_dir" title="刷新当前目录">
                        <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
                        <span>刷新</span>
                    </div>
                    <span class="ace_editor_main_storey"></span>
                </div>
                <div class="ace_catalogue_list">
                    <ul class="cd-accordion-menu"></ul>
                    <ul class="ace_catalogue_menu">
                        <li data-type="0"><i class="glyphicon glyphicon-refresh" aria-hidden="true"></i><span>刷新目录</span></li>
                        <li data-type="1"><i class="glyphicon glyphicon-folder-open" aria-hidden="true"></i><span>打开子目录</span></li>
                        <li data-type="2"><i class="folder-icon"></i><span>新建文件夹</span></li>
                        <li data-type="3"><i class="text-icon"></i><span>新建文件</span></li>
                        <li data-type="4"><i class="rename-icon img-icon"></i><span>重命名</span></li>
                        <li data-type="5"><i class="down-icon img-icon"></i><span>下载</span></li>
                        <li data-type="6"><i class="del-icon img-icon"></i><span>删除</span></li>
                    </ul>
                </div>
                <div class="ace_catalogue_drag_icon">
                    <div class="drag_icon_conter"></div>
                    <span class="fold_icon_conter" title="隐藏文件目录"></span>
                </div>

            </div>
            <!-- 编辑内容 -->
            <div class="ace_editor_main" style="margin-left:265px">
                <ul class="ace_conter_menu"></ul>
                <div class="ace_conter_tips">
                    <div class="tips"></div>
                </div>
                <div class="ace_editor_main_storey"></div>
                <div class="ace_conter_editor"></div>
                <div class="ace_conter_toolbar">
                    <div class="pull-left size_ellipsis">
                        <span data-type="path" class="size_ellipsis"></span>
                    </div>
                    <div class="pull-right">
                        <span data-type="cursor"></span>
                        <span data-type="history"></span>
                        <span data-type="tab"></span>
                        <span data-type="encoding"></span>
                        <span data-type="lang"></span>
                    </div>
                </div>
            </div>
            <div class="ace_toolbar_menu" style="display: none;">
                <div class="menu-item menu-tabs" style="display: none;">
                    <div class="menu-title">设置制表符</div>
                    <ul class="tabsType">
                        <li data-value="nbsp">使用空格缩进</li>
                        <li data-value="tabs">使用 "Tab" 缩进</li>
                    </ul>
                    <div class="menu-title" style="margin-top:15px">设置制表符长度</div>
                    <ul class="tabsSize">
                        <li data-value="1">1</li>
                        <li data-value="2">2</li>
                        <li data-value="3">3</li>
                        <li data-value="4">4</li>
                        <li data-value="5">5</li>
                        <li data-value="6">6</li>
                    </ul>
                </div>
                <div class="menu-item menu-encoding" style="display: none;">
                    <div class="menu-title">设置文件保存编码格式</div>
                    <ul></ul>
                </div>
                <div class="menu-item menu-files" style="display: none;">
                    <div class="menu-conter">
                        <input type="text" class="menu-input" placeholder="输入语言模式">
                        <i class="fa fa-close" aria-hidden="true"></i>
                    </div>
                    <div class="menu-title">设置文件语言关联</div>
                    <ul></ul>
                </div>
                <div class="menu-item menu-fontSize" style="display: none;">
                    <div class="menu-title">设置编辑器字体大小</div>
                    <div class="menu-conter">
                        <div class="set_font_size">
                            <input type="number" min="12" max="45" />
                            <span class="tips error">字体设置范围 12-45</span>
                            <button class="btn-save">保存</button>
                        </div>
                    </div>
                </div>
                <div class="menu-item menu-jumpLine" style="display: none;">
                    <div class="menu-title">跳转到指定行</div>
                    <div class="menu-conter">
                        <div class="set_jump_line">
                            <input type="number" min="0" />
                            <div class="jump_tips">当前：行&nbsp;<span></span>&nbsp;，列&nbsp;<span></span>&nbsp;，输入行数(介于&nbsp;1&nbsp;-&nbsp;<span></span>&nbsp;之间)</div>
                        </div>
                    </div>
                </div>
                <div class="menu-item menu-themes" style="display: none;">
                    <div class="menu-title">设置编辑器主题</div>
                    <ul></ul>
                </div>
                <div class="menu-item menu-history" style="display: none;">
                    <div class="menu-title">文件历史版本</div>
                    <ul></ul>
                </div>
                <div class="menu-item menu-setUp" style="display: none;">
                    <div class="menu-title">编辑器设置【部分设置需要重新打开编辑生效】</div>
                    <ul class="editor_menu">
                        <li data-type="wrap">自动换行</li>
                        <li data-type="enableLiveAutocompletion">代码自动完成</li>
                        <li data-type="enableSnippets">启用代码段</li>
                        <li data-type="showInvisibles">显示隐藏字符</li>
                        <li data-type="showLineNumbers">显示行号</li>

                    </ul>
                </div>
            </div>
        </div>
    </div>
</script>
<script type="text/template" id="aceShortcutKeys">
    <div class="keysUp_left">
        <div class="keysUp-row">
            <div class="keysUp-title">常用快捷键</div>
            <div class="keysUp-content">
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">S</span>
                    <span class="keysUp-tips">保存文件</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">C</span>
                    <span class="keysUp-tips">复制内容</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">X</span>
                    <span class="keysUp-tips">剪切内容</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">V</span>
                    <span class="keysUp-tips">粘贴内容</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">A</span>
                    <span class="keysUp-tips">全选内容</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Z</span>
                    <span class="keysUp-tips">撤销操作</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Y</span>
                    <span class="keysUp-tips">反撤销操作</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">F</span>
                    <span class="keysUp-tips">搜索内容</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">H</span>
                    <span class="keysUp-tips">替换内容</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn"><img src="" /></span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">0</span>
                    <span class="keysUp-tips">折叠代码</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn"><img src="" /></span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Shift</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">0</span>
                    <span class="keysUp-tips">展开代码</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Esc</span>
                    <span class="keysUp-tips">退出搜索、取消自动提示</span>
                </div>
            </div>
        </div>
        <div class="keysUp-row">
            <div class="keysUp-title">光标移动</div>
            <div class="keysUp-content">
                <div class="keysUp-item">
                    <span class="keysUp-btn">Home</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">End</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Up</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Left</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Down</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Right</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Home</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">End</span>
                    <span class="keysUp-tips">光标移动到文档首/尾</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">P</span>
                    <span class="keysUp-tips">跳转到匹配的标签</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">pageUp</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">pageDown</span>
                    <span class="keysUp-tips">光标上/下翻页</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Left</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Right</span>
                    <span class="keysUp-tips">光标移动到行首/尾</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">I</span>
                    <span class="keysUp-tips">跳转到指定行</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Up</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Down</span>
                    <span class="keysUp-tips">上/下增加光标</span>
                </div>
            </div>
        </div>
    </div>
    <div class="keysUp_right">
        <div class="keysUp-row">
            <div class="keysUp-title">内容选择</div>
            <div class="keysUp-content">
                <div class="keysUp-item">
                    <span class="keysUp-btn">鼠标框选——拖动</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Shift</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Home</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">End</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Up</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Left</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Down</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Right</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Shift</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">pageUp</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">PageDown</span>
                    <span class="keysUp-tips">上下翻页选中</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Shift</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Home</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-tips">当前光标至头/尾</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">鼠标拖动</span>
                    <span class="keysUp-tips">块选择</span>
                </div>
            </div>
        </div>
        <div class="keysUp-row">
            <div class="keysUp-title">编辑</div>
            <div class="keysUp-content">
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">/</span>
                    <span class="keysUp-tips">注释&取消注释</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Tab</span>
                    <span class="keysUp-tips">对齐</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Shift</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Tab</span>
                    <span class="keysUp-tips">整体前移</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Delete</span>
                    <span class="keysUp-tips">删除</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">D</span>
                    <span class="keysUp-tips">删除整行</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Shift</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Up</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Down</span>
                    <span class="keysUp-tips">复制行并添加到上一行/下一行</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Delete</span>
                    <span class="keysUp-tips">删除光标右侧内容</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Alt</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Up</span>
                    <span class="keysUp-symbols">/</span>
                    <span class="keysUp-btn">Down</span>
                    <span class="keysUp-tips">当前行和上一行/下一行交换</span>
                </div>
                <div class="keysUp-item">
                    <span class="keysUp-btn">Ctrl</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">Shift</span>
                    <span class="keysUp-symbol">+</span>
                    <span class="keysUp-btn">D</span>
                    <span class="keysUp-tips">复制行并添加到下面</span>
                </div>
            </div>
        </div>
    </div>
</script>

	</div>
	
    <script src=" /static/baota/js/jquery-2.2.4.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
	<script src=" /static/baota/layer/layer.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
	<script src=" /static/baota/language/Simplified_Chinese/lan.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
    <script src=" /static/baota/js/clipboard.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
    <script src=" /static/baota/laydate/laydate.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
	<script src=" /static/baota/js/jquery.qrcode.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
	<!-- 以下文件未来将被剔除 -->
	<script src=" /static/baota/js/bootstrap.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
	<script src=" /static/baota/js/public.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
	<script src=" /static/baota/js/public_backup.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
	
	<script src=" /static/baota/codemirror/lib/codemirror.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
	<!-- End -->
	<script type="text/javascript" src=" /static/baota/js/tools.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
	
	
<script type="text/javascript" src=" /static/baota/js/jquery.dragsort-0.5.2.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
<script type="text/javascript" src=" /static/baota/js/jquery.qrcode.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
<script type="text/javascript" src=" /static/baota/js/public.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
<script type="text/javascript" src=" /static/baota/js/public_backup.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
<script type="text/javascript" src=" /static/baota/js/clipboard.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
<script type="text/javascript" src=" /static/baota/js/polyfill.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>
<script type="text/javascript" src=" /static/baota/ace/ace.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
<script type="text/javascript" src=" /static/baota/ace/ext-language_tools.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum" defer></script>
<script type="text/javascript" src=" /static/baota/js/files.min.js?version=7.5.2&repair=qrNHX3Jf3LV00Oum"></script>

	<script type="text/javascript">
	    $("#setBox").click(function () {
	        if ($(this).prop("checked")) {
	            $("input[name=id]").prop("checked", true);
	        } else {
	            $("input[name=id]").prop("checked", false);
	        }
	    });
	    setCookie('order', 'id desc');
	    var is_files_html = false;
	    var task_open = 0;
	    var task_close = false;
	    if ($(".current").attr("id") == 'memuAfiles') {
	        is_files_html = true;
	    }
	    function task_stat(my_init) {
	        if (!my_init) {
	            my_init = 0;
	            if (task_open) return;
	        }
	        if (task_close) return;
	        $.post('/task?action=get_task_lists', { status: -3 }, function (task_list) {
	            if (task_list.length == 0) {
	                if (my_init && is_files_html) GetFiles(getCookie('Path'));
	                if (task_open) {
	                    layer.close(task_open);
	                    task_open = false;
	                }
	                return;
	            }
	            var msg_body = '';
	            var is_add = false;
	            for (var i = 0; i < task_list.length; i++) {
	                if (task_list[i]['status'] == -1) {
	                    if (!task_open || !$(".message-list").attr("class")) {
	                        show_task();
	                    }
	
	                    if (task_list[i]['type'] == '1') {
	                        msg_body += '<div class="mw-con">\
		                                <ul class="waiting-down-list">\
			                                <li>\
				                                <div class="down-filse-name"><span class="fname" style="width:80%;" title="正在下载: '+ task_list[i].shell + '">正在下载: ' + task_list[i].shell + '</span><span style="position: absolute;left: 84%;top: 25px;color: #999;">' + task_list[i].log.pre + '%</span><span class="btlink" onclick="remove_task(' + task_list[i].id + ')" style="position: absolute;top: 25px;right: 20px;">取消</span></div>\
				                                <div class="down-progress"><div class="done-progress" style="width:'+ task_list[i].log.pre + '%"></div></div>\
				                                <div class="down-info"><span class="total-size"> '+ task_list[i].log.used + '/' + ToSize(task_list[i].log.total) + '</span><span class="speed-size">' + (task_list[i].log.speed == 0 ? '正在连接..' : task_list[i].log.speed) + '/s</span><span style="margin-left: 20px;">预计还要: ' + task_list[i].log.time +'</span></div>\
			                                </li>\
	                                        </ul>\
	                                    </div>'
	                    } else {
	                        msg_body += '<div class="mw-title"><span style="max-width: 88%;display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">' + task_list[i].name + ': ' + task_list[i].shell + '</span><span class="btlink" onclick="remove_task(' + task_list[i].id + ')"  style="position: absolute;top: 10px;right: 15px;">取消</span></div>\
	                                    <div class="mw-con codebg">\
		                                    <code>'+ task_list[i].log +'</code>\
	                                    </div>'
	
	                    }
	
	                } else {
	                    if (!is_add) {
	                        msg_body += '<div class="mw-title">等待执行任务</div><div class="mw-con"><ul class="waiting-list">';
	                        is_add = true;
	                    }
	                    msg_body += '<li><span class="wt-list-name" style="width: 90%;">' + task_list[i].name + ': ' + task_list[i].shell + '</span><span class="mw-cancel" onclick="remove_task(' + task_list[i].id + ')">X</span></li>';
	                }
	            }
	            if (task_open) {
	                if (is_add) {
	                    msg_body += '</ul></div>';
	                }
	                $(".message-list").html(msg_body);
	            }
	
	                        
	            if (my_init > 3) {
	                if (is_files_html) GetFiles(getCookie('Path'));
	                my_init = 1;
	            }
	            my_init +=1
	            setTimeout(function () { task_stat(my_init); }, 1000);
	        });
	    }
	    function show_task() {
	        task_open = layer.open({
	            type: 1,
	            title: "实时任务队列",
	            area: '500px',
	            closeBtn: 2,
	            shadeClose: false,
	            shade: false,
	            offset: 'auto',
	            content: '<div style="margin: 10px;" class="message-list"></div>',
	            cancel: function () {
	                task_close = true;
	            }
	        });
	    }                
	    function remove_task(id) {
	        loadT = layer.msg('正在取消任务...', { time: 0, icon: 16, shade: [0.3, '#000'] });
	        $.post('/task?action=remove_task', { id: id }, function (rdata) {
	            layer.close(loadT)
	            layer.msg(rdata.msg);
	        });
	    }
		task_stat();
		
	</script>
	</div>
</body>
</html>